<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../easyUi/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="../easyUi/themes/icon.css"/>
<script rel="stylesheet" type="text/css" src="../easyUi/jquery.min.js"></script>
<script type="text/javascript" src="../easyUi/jquery.easyui.min.js"></script>

<script type="text/javascript">

    $('#ff').form({
        url:'/right/customertable/save',
        onSubmit:function(){
            return $(this).form('validate');
        },
        success:function(data){
            $.messager.alert('Info', data, 'info');
        }
    });

</script>
<style>
    #bacakground{
        color: #1b6d85;

    }
</style>
<body id="bacakground">
<div style="padding:3px 2px;border-bottom:1px solid #ccc">Form Validation</div>
<div class="easyui-panel" title="Form Validation" style="width:300px;padding:20px;">
<form id="ff" method="post"  >
    <div style="margin-bottom:10px">
        <label  >公司名称:</label>
        <input class="textbox" type="text" name="cname" required="true"></input>
    </div>
    <div style="margin-bottom:10px">
        <label  >公司账号:</label>
        <input class="textbox" type="text" name="password" required="true" ></input>
    </div>
    <div style="margin-bottom:10px">
        <label  >密码:</label>
        <input class="textbox" type="text" name="Account" required="true"></input>
    </div>
    <div style="margin-bottom:10px">
        <label  >电话号码:</label>
        <input class="textbox" type="text" name="TelNum" required="true"></input>
    </div>
    <div style="margin-bottom:10px">
        <label  >公司官网:</label>
        <input class="textbox" type="text" name="cSite" required="true"></input>
    </div>
    <div style="text-align:right">
        <input class="button" type="submit" value="Submit" style="width:80px;height:30px">
    </div>
</form>
</div>
</body>
</html>
